package com.matt.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.matt.commons.model.Domain;
import com.matt.commons.model.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/7/13
 * *******************************
 */
@EqualsAndHashCode(callSuper = false)
@Entity
@Data
@Table(name = "area_logo")
@NoArgsConstructor
public class AreaLogo  extends Model {


    @Column(columnDefinition = "varchar(50) COMMENT '园区名称' ")
    @ApiModelProperty(value = "园区名称")
    private String areaName;

    @Column(columnDefinition = "varchar(500) COMMENT '园区logo' ")
    @ApiModelProperty(value = "园区logo")
    private String logoUrl;


    @Column(columnDefinition = "int default 1 comment '园区标识'")
    private Integer type;

    @Column(columnDefinition = "  bit DEFAULT 0 COMMENT '是否报名 0：否，1是' ")
    private boolean deleted= false;

}
